package com.hitqz.robot.api.business.model.vo.tickets;

import com.hitqz.robot.api.common.entity.TicketsFlowMatch;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author xupkun
 * @date 2024/12/26
 */
@Schema(description = "工单流程匹配")
@Data
public class TicketsFlowMatchVo {

    @Schema(description = "id")
    private Long id;


    @Schema(description = "关键词")
    private String keyWorld;

    @Schema(description = "流程名字")
    private String flowName;

    public TicketsFlowMatchVo() {


    }


    public TicketsFlowMatchVo(Long id, String keyWorld, String flowName) {
        this.id = id;
        this.keyWorld = keyWorld;
        this.flowName = flowName;
    }

    public TicketsFlowMatchVo(TicketsFlowMatch ticketsFlowMatch) {
        this.id = ticketsFlowMatch.getId();
        this.keyWorld = ticketsFlowMatch.getKeyWorld();
        this.flowName = ticketsFlowMatch.getFlowName();
    }
}
